<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
/*::first-letter可以选中第一个文字
::first-line可以选中第一行文字
::selection用于设置被鼠标选中的内容
::before可以在第一个文字前添加内容，需要配合content使用
::after可以在最后一个文字后面添加内容，需要配合content使用
用before和aftet伪元素添加的文字都不能复制*/
        /* p::first-letter{
            color:orange;
            font-size: 30px;
        } */
        /* p::first-line{
            color: yellow;
        } */
        /* p::selection{
            color: red;
        } */
        p::before{
            content: '我';
            color: red;
        }
        p::after{
            content: '爱';
            color: orange;
        }
    </style>
</head>
<body>
    <p>There are moments in life when you miss someone so much that you just want to pick them from your dreams and hug them for real! Dream what you want to dream;go where you want to go;be what you want to be,because you have only one life and one chance to do all the things you want to do.

        　　May you have enough happiness to make you sweet,enough trials to make you strong,enough sorrow to keep you human,enough hope to make you happy? Always put yourself in others’shoes.If you feel that it hurts you,it probably hurts the other person, too.
        
        　　The happiest of people don’t necessarily have the best of everything;they just make the most of everything that comes along their way.Happiness lies for those who cry,those who hurt, those who have searched,and those who have tried,for only they can appreciate the importance of people</p>
</body>
</html>